package com.liy.cloud.common.ext.service;

import com.das.framework.common.service.IBaseService;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: libs
 * @Date: 2018/6/13 14:23
 * @Description:
 */
public interface IExtBaseService<T, PK extends Serializable> extends IBaseService<T, PK> {

    /**
     * 批量删除
     * @param ids
     * @return
     * @throws Exception
     */
    public int deleteBatch(List<String> ids) throws Exception;

    /**
     *
     * 功能描述: 添加/编辑时检查不能有重复值的字段
     *
     * @param:
     * @return:
     * @auther: libs
     * @date: 2018/6/22 13:37
     */
    public T checkAddEdit(T var1) throws Exception;
}
